<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">

<title>Simple Form Example</title>
</head>

<script type="text/javascript">
function getUsernameValue() {
	return document.input.user.value;
}

function triggerResultCallback(){
	myJsInterface.onResult(getUsernameValue());
}
</script>

<body>
	<form name="input" >
		Username: 
		<input type="text" name="user" value="enter text here"/>
		<input type="button" id="submit_button" value="click me to submit" onclick="javascript:alert(id)" />
	</form>

</body>
</html>